package com.aabte.design.pattern.behavioral.observer.guava;

import com.google.common.eventbus.EventBus;

public class GuavaTest {

    public static void main(String[] args) {
        EventBus eventBus = new EventBus();
        GuavaEvent guavaEvent = new GuavaEvent();

        eventBus.register(guavaEvent);

        eventBus.post("post的内容");
    }

}
